m=eval(input())
sum=0
for i in range(11,m+1):
    sum+=i
print(f'sum = {sum}')